package com.situ.dao;

import com.situ.util.DBUtil;

public class UserRoleDao {
    public void insert(Integer uid, Integer rid) {
        DBUtil.executeDML("insert into user_role(user_id,role_id) values(?,?)", uid, rid);
    }

    public void delete(Integer uid, Integer rid) {
        DBUtil.executeDML("delete from user_role where user_id=? and role_id=?", uid, rid);
    }

}
